package com.ethink.order.api.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author default
 * @version 1.0.0
 * @ClassName PurchaseOrderRefineRequest.java
 * @Description
 * @createTime 2022年11月11日 10:39:00
 */
@Data
public class PurchaseOrderRefineRequest {

    @NotNull
    @Schema(description = "主键")
    private Long id;

    @Schema(description ="应付金额")
    private BigDecimal shouldPayAmount;

    @Schema(description ="优惠金额")
    private BigDecimal discountAmount;

    @Schema(description ="预付金额")
    private BigDecimal prepayAmount;

    @Schema(description ="折扣(%)")
    private BigDecimal discountRate;

    @Schema(description ="尾款")
    private BigDecimal restAmount;

    @Schema(description ="申请人")
    private String applyUser;

    @Schema(description ="付款方账号")
    private String payerAccount;

    @Schema(description ="付款方名称")
    private String payerName;

    @Schema(description ="银行流水号")
    private String bankTradeNo;

    @Schema(description ="付款备注")
    private String bankTradeRemark;

    @Schema(description ="银行流水相关凭证")
    private String bankTradeFileId;

    @Schema(description ="发票")
    private String payInvoiceFileId;

    @Schema(description ="采购资质")
    private String purchaseQualification;

}
